/*->c.diff                     */
/* CrossStar 2.00 August 1991  */
/* (c) David Pilling           */


#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <ctype.h>
#include <time.h>
#include <locale.h>

#include "h.os"
#include "h.wimp"
#include "h.sprite"
#include "h.wimpt"
#include "h.bbc"
#include "h.akbd"
#include "h.werr"










int main(int argc,char * argv[])
{ 
 FILE * fp1;
 FILE * fp2;
 FILE * fp3;
 FILE * fp4;

 char string1[128];
 char string2[128];

 int  not1;
 int  not2;

 int  code;

 setlocale(LC_ALL,"ISO8859-1");



 fp1=fopen("df2","rb");
 fp3=fopen("dfc","wb");


 while(1)
 {
  if(!fgets(string1,128,fp1)) break;

  if(strlen(string1)<13) fputs(string1,fp3);


 }

 fclose(fp1);
 fclose(fp3);




/*

 fp1=fopen("dict","rb");
 fp2=fopen("dict2","rb");
 fp3=fopen("df","wb");
 fp4=fopen("df2","wb");

 not1=not2=1;

 while(1)
 {
  if(not1 && !fgets(string1,128,fp1))
  {
   fputs(string2,fp4);
   while(fgets(string2,128,fp2)) fputs(string2,fp4);
   break;
  }

  if(not2 && !fgets(string2,128,fp2))
  {
   fputs(string1,fp3);
   while(fgets(string1,128,fp1)) fputs(string1,fp3);
   break;
  }

  code=strcmp(string1,string2);
  not1=not2=1;

  if(code<0)
  {
   fputs(string1,fp3);
   printf(string1);
   not2=0;
  }
  else
  if(code>0)
  {
   fputs(string2,fp4);
   printf(string2);
   not1=0;
  }
 }



 fclose(fp1);
 fclose(fp2);
 fclose(fp3);
 fclose(fp4);

*/




 return(0);
}

